@echo off
chcp 65001
REM 创建项目目录结构
md 00_Project_Management
md 00_Project_Management\00_需求导入_QFD
md 00_Project_Management\01_需求约束_Pugh
md 00_Project_Management\02_需求转化_Basic_Static
md 00_Project_Management\03_功能图谱_Function_Map
md 00_Project_Management\04_法规认证_国内_国外
md 00_Project_Management\04_功能风险管控_DFMEA
md 00_Project_Management\04_知识产权_国内_国外
md 00_Project_Management\05_敏捷开发_Scrum
md 00_Project_Management\06_持续集成与测试_DevOps
md 00_Project_Management\07_产品生产管理_Six_Sigma
md 00_Project_Management\08_缺陷管理追踪_Jira

md 00_Reference
md 00_Reference\01_Docs
md 00_Reference\01_Docs\01_STM32F4xx
md 00_Reference\01_Docs\01_STM32F4xx\00_Reference
md 00_Reference\01_Docs\01_STM32F4xx\01_Docs

md 01_Function_Map

md 02_Hardware
md 02_Hardware\00_Ref
md 02_Hardware\00_Ref\00_HDk
md 02_Hardware\01_Project
md 02_Hardware\01_Project\01_AD
md 02_Hardware\01_Project\01_AD\01_Project_File
md 02_Hardware\01_Project\01_AD\02_SCH
md 02_Hardware\01_Project\01_AD\03_PCB

md 03_Firmware
REM BootLoader 中间件 操作系统

md 04_Software
md 04_Software\00_Ref
md 04_Software\01_Source_Code
REM 上位机

md 05_Mechanical
REM 机械结构 外壳

md 06_FCT
REM 生产环节使用的自检或测试的上位机软件

md 07_Tools
REM 脚本及工具链 加密打包

REM 创建基本文件
cd.>.gitignore
cd.>LICENSE.md
cd.>README_EN.md
cd.>README_CN.md
cd.>README.md

REM 在子目录中创建占位文件
cd 00_Project_Management
cd.>placeholder.txt
cd..

cd 00_Reference
cd.>placeholder.txt
cd..

cd 01_Function_Map
cd.>placeholder.txt
cd..

cd 02_Hardware
cd.>placeholder.txt
cd..

cd 03_Firmware
cd.>placeholder.txt
cd..

cd 04_Software
cd.>placeholder.txt
cd..

cd 05_Mechanical
cd.>placeholder.txt
cd..

cd 06_FCT
cd.>placeholder.txt
cd..

cd 07_Tools
cd.>placeholder.txt
cd..

REM 完成提示
echo 项目目录结构创建完成！
exit